Previous Book Contents Book Index Next

Inside Macintosh: QuickTime /
Chapter 4 - Movie Resource Formats / Overview of the Movie Resource Atom


Track Header Atoms

The track header atom specifies the characteristics of a single track within a movie. A track header atom contains a size field that specifies the number of bytes and a type field that indicates the format of the data (defined by the atom type, 'tkhd'). Figure 4-8 shows the structure of the track header atom.

Figure 4-8 The layout of a track header atom

The track header atom contains the track characteristics for the track, including temporal, spatial, and volume information. You define a track header atom by specifying these elements:

   enum 
   {
      TrackEnable = 1<<0,  /* enabled track */
      TrackInMovie = 1<<1, /* track in playback */
      TrackInPreview = 1<<2,/* track in preview */
      TrackInPoster = 1<<3 /* track in poster */
   };

Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996